<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<jsp:include page="/WEB-INF/jsp/common/_head.jsp"/>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<div class="ui grid">
    <div class="row">
        <div class="column">
            <div class="ui two column grid">
                <div class="three wide column">
                    <jsp:include page="/WEB-INF/jsp/common/_sidebar.jsp">
                        <jsp:param name="index" value="2301"/>
                    </jsp:include>
                </div>
                <div id="container" class="thirteen wide column">
                    <ol class="breadcrumb">
						<li><a href="/">后台管理</a></li>
						<li class="active">投资人列表</li>
					</ol>
<!--                     <ul class="nav nav-pills" role="tablist"> -->
<!--                         <li role="presentation" class="active"><a href="/investor/add">录入投资人</a></li> -->
<!--                     </ul> -->
					<ul class="nav nav-pills" role="tablist">
						<li role="presentation" class="active">
							<form class="navbar-form navbar-left" role="search">
								<div>
									<div class="form-group">
										<input type="text" class="form-control" name="kw"
											value="${not empty param.kw ? param.kw : ''}"
											placeholder="请输入真实姓名或手机号码">
									</div>
									<button type="submit" class="btn btn-default">搜索</button>
								</div>
							</form>
						</li>
					</ul>
					<table class="table table-hover">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>真实姓名</th>
                            <th>手机号码</th>
                            <th>个人/单位</th>
                            <th>所在公司</th>
                            <th>职位/头衔</th>
                            <th>投资人类型</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <c:forEach items="${paginate.pageList }" var="investor">
                            <tr>
                                <td>${investor.userId }</td>
                                <td><a href="/investor/details/${investor.userId }" target="_blank">${investor.investorRealname}</a></td>
                                <td>${investor.investorPhone }</td>
                                <td>
                                	<c:if test="${investor.investorType==1 }">个人</c:if>
                                	<c:if test="${investor.investorType==2 }">单位</c:if>
                                </td>
                                <td>${investor.investorCom }</td>
                                <td>${investor.investorTitle}</td>
                                <td>
                                	<c:if test="${investor.type==1 }">领投人</c:if>
                                	<c:if test="${investor.type==2 }">个人投资</c:if>
                                </td>
                                <td>
<%--                                     <a class="btn active btn-primary"  href="/investor/${investor.userId }/edit">编辑</a> --%>
<%--                                 	<a class="btn active btn-danger" isAudit="true"  label="确认删除？" title="删除" ref="/investor/${investor.userId }/delete" href="javaScript:;">删除</a> --%>
                           		</td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                    <div class="page-info clearfix">
                         <jsp:include page="/WEB-INF/jsp/common/_page.jsp"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="/WEB-INF/jsp/common/_foot.jsp"></jsp:include>
